﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesProjectWinform.Equipment.Output
{
    /// <summary>
    /// 项目维护输出参数
    /// </summary>
    public class ProjectMaintenanceOutput
    {
        /// <summary>
        /// 项目维护ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 项目维护编码
        /// </summary>
        public string ProjectMaintenanceCode { get; set; }

        /// <summary>
        /// 项目维护名称
        /// </summary>
        public string ProjectMaintenanceName { get; set; }

        /// <summary>
        /// 检验方式
        /// 1: 目视、 2: 擦拭、 3: 仪表测试
        /// </summary>
        public int CheckoutWay { get; set; }

        /// <summary>
        /// 检验方式文本
        /// </summary>
        public string CheckoutWayText { get; set; }
        /// <summary>
        /// 值类型
        /// </summary>
        public string ValueType { get; set; }

        /// <summary>
        /// 最小值
        /// </summary>
        public int ProjectMaintenanceMinNum { get; set; }

        /// <summary>
        /// 最大值
        /// </summary>
        public int ProjectMaintenanceMaxNum { get; set; }

        /// <summary>
        /// 判定基准
        /// </summary>
        public string Criterion { get; set; }

        /// <summary>
        /// 创建人，可以为空
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        /// 创建时间，默认为当前系统时间
        /// </summary>
        public DateTime CreatedTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 更新人，可以为空
        /// </summary>
        public string UpdatedBy { get; set; }

        /// <summary>
        /// 更新时间，默认为当前系统时间
        /// </summary>
        public DateTime UpdatedTime { get; set; } = DateTime.Now;

    }
}
